package com.whminwei.edu.api.dc.dto.fspn.sso;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-11-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcLoginFspn {

    public List<DcLogin> loginList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcLogin {
        /**
         * 登录账号
         */
        private String account;
        /**
         * 用户类型
         */
        private String userType;
        /**
         * TOKEN生成时间,即登录成功时间
         */
        public long loginTime;
        /**
         * 登录IP地址
         */
        private String ipAddress;
    }
}
